Windows cannot parse the unattend answer file's <DiskConfiguration> setting
I know there are many topic asking the same question. But I think my situation is a bit different to the others. I need to deploy Win7 to client computer by WDS by using unattend file to automate it. The client computer had C: drive (system) and D: drive (Data) which already exist. What I want is just wipe the C: partition and deploy Win7 to that partition again, D: partition must be intact. The current partition ID of the disk is : partition 1 = system reserve, partition 2 = C:, partition 3 = D: Below is the content of my unattend.xml <?xml version="1.0" encoding="utf-8" ?> - <unattend xmlns="urn:schemas-microsoft-com:unattend"> - <settings pass="windowsPE"> - <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <SetupUILanguage> <UILanguage>zh-cn</UILanguage> </SetupUILanguage> <InputLocale>en-us</InputLocale> <SystemLocale>zh-cn</SystemLocale> <UILanguage>zh-cn</UILanguage> <UILanguageFallback>zh-cn</UILanguageFallback> <UserLocale>zh-cn</UserLocale> </component> - <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <DiskConfiguration> - <Disk wcm:action="add"> - <ModifyPartitions> - <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>System</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> <TypeID /> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>false</WillWipeDisk> - <CreatePartitions> - <CreatePartition wcm:action="add"> <Size>81920</Size> <Order>1</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> - <WindowsDeploymentServices> - <Login> - <Credentials> <Domain>hk.unicom.local</Domain> <Password>daQ?ewV6</Password> <Username>administrator</Username> </Credentials> </Login> - <ImageSelection> - <InstallImage> <Filename>install.wim</Filename> <ImageGroup>Win7 Pro 64bit zh-cn</ImageGroup> <ImageName>Windows 7 PROFESSIONAL</ImageName> </InstallImage> - <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> </component> </settings> <cpi:offlineImage cpi:source="wim:g:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
June 10th, 2011 3:29am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics